package com.java.module.chat.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import com.java.common.lang.annotation.Excel;
import com.java.common.lang.domain.BaseEntity;

/**
 * 聊天：禁用词对象 chat_disable_word
 * 
 * @author Administrator
 * @date 2021-05-13
 */
public class DisableWord extends BaseEntity {

    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long wid;

    /** 标题 */
    @Excel(name = "标题")
    private String title;

    /** 禁用词，多个以英文逗号分隔 */
    @Excel(name = "禁用词，多个以英文逗号分隔")
    private String words;

    /** 删除标志（0默认 非0表示已删除） */
    private Integer delFlag;

    public void setWid(Long wid) {
        this.wid = wid;
    }

    public Long getWid() {
        return wid;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getTitle() {
        return title;
    }

    public void setWords(String words) {
        this.words = words;
    }

    public String getWords() {
        return words;
    }

    public void setDelFlag(Integer delFlag) {
        this.delFlag = delFlag;
    }

    public Integer getDelFlag() {
        return delFlag;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE).append("wid", getWid())
                .append("title", getTitle()).append("words", getWords()).append("createTime", getCreateTime())
                .append("updateTime", getUpdateTime()).append("delFlag", getDelFlag()).toString();
    }

}